fixed small path bug