Fix Chain Bug