version 0.8
fix the exit funciton