change :nil to :eol