wtf does ruby turn an empty line into nil?!