apply fix for global vars paths