fix status_file