fix compile error due to missing header and this->