fixed bugs with grid and text box-circ