fix bug on next button when add value to cost