fixed NPE after come back from long sleep mode, v3.0.3