fixed camelcase bug for pagetemplate entity