kite/method: fix a problem where multiple pre handlers were added
recursively