fix addunit call in minor sm13
Merge pull request #43 from deadeye2/fix_addunit_call

fix addunit call in minor sm13