fix queue status checking