oops, wrong param in the options.type