fix install race condition and cache locate
beta 9