bug fixed in main.cpp