Firefox and IE compatibility issue fixed