fix path creating over ssh