use handler instead of path according to Chain API