gras: moved path fix into gras