fix x and y position