fix missing db replace  command