fix grid inconstistancy