Quiz undefined fix