remove obj files and fix bugs