Fix compileClient