adding case for error from iframe