essential fix - avoid undefined options