cross browser compatibility change