changed the correction in line 230 to be consitent in the variable order. (to construct the star)