Fixed a compil error