fix asset path when using under a subdir