model option type fix