fixed bug in get_status