Error fix in main.cpp

Error fix in main.cpp introduced during testing of analysis module