create options object if there is none