Fixed a broken variable xP