corrected errors if there is no items (OK button)