Compile without debug mode and fix FF bug