remove previous remote directory