Remove newlines in head.