FIX a bug in chain heal