fix missing 's' on $this->attribute