Fixed checking status