fix bug in draw