modified promise callback params.