Fixed to work with IE