fix sp, mfc approve bugs