remove stale locke references