Fixed resource source empty issue