fix getResource null problem