cross browser bugfix