Solve compiling bug