Fixed compile error. make this code can be compiled.