change $this->props to an array