Move position of call of levelObject.complete();