fix for null options