fixed if status is not number

fixed error, if status is not number.