fix issue with options being null