corrected scaling errors

and added some more traces