Fix reference to levelMap