fix statuses check