Restore proper trailing spaces