Enhance for error of lock_version.