fixed the wrong configuration and the bug that the build fails if the level folder is missing