fix: swapped input x and y