fixes to work on firefox