handled the problem that occured when we wanted to retrieve levels (it
is an array, not an object)