please help I need to draw butterfly for Write NM for SRAM cell

I cut down the inverter into two halves to get the VTC for both INVA and INVB as it is shown in the figure, the result should be as shown in the graph

but I got different result, the green curve is wrong while the red one is right, What is the problem with this curve ??

Please help what shall I do