only clear path cache once