fix position diagram