fixes for firefox and opera