fix some drawbox variables