remove needless error handling