Update

fix for firefox and safari.