Fix bug option, reader and writer parameters was not being apply if value is set.