fix loader when asset list is empty