fix grid and added rows