fixed the error mesage