fix nil error in quiz view