fix accidental overwriting db not append entry