[FOLD] constrain shared_handler