Fix IE bug and show errors.