correctly remove main.cpp