Fixed bug in status check