fixed compiling error.