fix database toolarge