fixed small issue in asset loader