fix position checking