fixing graph position