fixing some issues with firefox and opera