make sure options are defined