fixed cross browser testing bug