Fixing remote dir