Update main.cpp

pfork plonger problem reindexing problem!