Do some chain fixes.