Fixed Attachrid calls
Merge pull request #148 from wushin/attachrid-fix

Fixed Attachrid calls