fixed amount bug.