Fix option override option on write method