add missed DB lock