add_handler using variable-length template argument
remove not used code