Fix bug when starting with space in path