fix status bug