partially fix my compiling problem