fixed issue with IE and Firefox