fix no error when status equals 0