fix for non-chrome browsers