fix add exit bug

Signed-off-by: jason <jason123.zhou@gmail.com>