x values in grid not incrementing