Fixed compiling errors. bugs id:12