fixed undefined variable
Merge pull request #537 from fabpot/exception-controller-sync

fixed undefined variable