delete extra space on main.cpp