fixed query_sys_status