Fix remote dir