fixed drawing commands