Bugfixing invalid getHandler() method call