fixes for firefox