* attempt to fix race statement based  race condition in db engine