fix for race condition on get operation