locking fix
fix Savannah ticket #101045