fix asset loading