bug fix to standard drawing.