minor fix,if path does not include :