Fix runtime exception
Fix runtime exception

(cherry picked from commit 829f3c17773bfbe86e06b13950cb6f1cd6f59dc7)

TheHungryBu/MediaLibraryKit,TheHungryBu/MediaLibraryKit,TheHungryBu/MediaLibraryKit,TheHungryBu/MediaLibraryKit