resolves #1130 substitute attribute entry value outside of header