Fix for loading in IE