exit if object check returns error