Fix server resource check