fixed status check