added precompile check