fix missing changes from int to Level