#1 fixed
Merge pull request #2 from tom-tan/fix_setp

Use 'this' explicitly to fix scope issue