malformed lines fixed