Routing gen() checks options is array type