fix incorrect arg order