removed an error print and added unknown error print