quality control. fixed some bugs with shape drawing.