dont send 2 requests for switch template