fixed another 2 bugs in the status checking