Fix optical issues in quantity