Corrected amount variable reference.