fix relative coordinate