Fixed bug in hte major P3 and close D3 (build3) case