If your machine has caught fire then the welds have cracked in the corners of the fryer pot. The cooking oil is seeping through the cracks and into the flames of the burner. This is Immediately Dangerous and should be turned off, it needs complete refurbishment.