fix bug of finish-greeting.