Fix issues with levels