cross browser fixes