changed main.cc error message