put callbacklist into local scope
Merge pull request #246 from paczian/master

put callbacklist into local scope