Old Ruby syntax and newline fix