fix changes with grid so its not too long