fix: remove old use of xpos