added special casing for missing chains