Fixed: Used amount instead of quantity