avoid error when value of local_status is a string