fix: handler should be cloned in get_handler

hot fix for #1