Removes 'warning: circular argument reference - amount'