fixed level changing issue