woops, fix inverse check