make db consistent between bot & app