fixed directory nonsense