fixed the bug that about calc for status equals 3