fixing ctx.string on properties of a prototype