[resolve] Fix system resource check