moved string trimming to util module / path fix