Error fix in main.cpp

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