fix handles trait
Merge pull request #38 from doy/master

fix handles trait