Corrected errors with firefox