* verify $this->frames is array and set it to empty