change path for switch