removed null check from rowToString