spent amount gets handled properly