some tweaks to the load cell code