Fix inconsistent argument order