Correct bug placing things in wrong directories