Fix new windows error in FF and IE