Fix method _amount_line