Fixes IE bug