fix error in datadb commit