fix db issue caused by bad use of git