fixed precompilation to work