fixed extra error message