Fixed a compiling error.