Fail to write in slave during replication