Fix stripping of crap in SMF exporter