fixed browser issue on firefox and safari