change xPosInput selector into input