plot fixes and ranges.  to be updated again