fixed bug with assetCache when pending is false, and loaded is true