remove trailing space on migration template file