Fixed changing of the path