fix mfc, sp reg issue