fix folder paths creation