fixed error on 163 in main.cpp