fix status change problem