fix position calculation