fix bad error message
remove unnecessary file