applying possible fixes for sub directories in assets/