fix bug of register course's price display method