fixes directory structure