little fix to draw buffer