change asset path to relative path