fixed get/set template methods