finally fixed relative direction bug