Bugfix with matches in gotoHook