Fix possible NRE when options is not provided