Compile errors correction