Fix SMF version comparison
Fix stripping of crap