fix ignorance of . and .. in client