small bug in scalars.py