fix to use assets as string when not precompiled