fix application's path has blank/chinese bug