implement support for multi-pattern controllers with the same handler