hopefully fixes directory nonsense