Fix directory/new problem