fixing broken DB