fixed minor bug, when API pais status = 0