crossbrowser fixes