fix status -> state