Fix for incrementing level