restore original directory change detection. also resolves #474.