update main.cpp

Signed-off-by: Jack <jack.wgm@gmail.com>