Fix the last path problem