fixing locally db
fixing locally db