return success params, same as onreturn function