fix error handling
remove old files
fix function name error