Fix to avoid new lines in the df output