fixes for precompile