fixed cross browser problem