fixed off by one width error in drawing CDS