fix bugs found using byebug
remove unused cpplint files