fix promotion task function

fix promotion task function