Simple fatal bug fixed