pd.trigger returns success value correctly