fix a bug for path of executation