fix status setting