fixed sync invokes for nested handlers