* fix exit bug