fixing views  table