Fix pathes join and strf messages