Fix the bugs in assets preload. It works now !