catch error if no levels registered