fixed space in dir issue