level 4 warnings fixed in engine project