after_do is no logner used
rm after_do
fix application's path has blank/chinese bug