Fix cd function space in path issue