bug in assignment_level