Fixed errors arising from compiling Fireworks