db commit fix