adapt pathes