fix asset loading in development mode