backend: fix status_text function