fixed a possible bug in chainlace