fixed choice type error. index class not found error