fixed issue in level.h