compatybility fix for ie