fixed stale files detection 2