add option to force type (for widget usage)