fix last db change