Changed getter/setter template to the right variable