fixed small path-bug