fix small bug in output of scales