Firefox bugs fixed