finally fixed forge.cpp issue