bugfix for pdgcg/shells