fix for amount view cancel bug