deleted unnesseccary output
fixed error message