[compile] fixes to compile