corrected erroneous error message when ok