fix wrong argument passed