resolved issue for Firefox and IE