Fixed a bug where the asset path was parsed with the wrong variables