fixed error prompt