debugged some firefox specific issues