missed a const on the layers used in tagtransform