fixed wire issue for slave