fixed up SG renamer