random fixes that came out during testing
Merge branch 'feature/linregress' into is24-master

* feature/linregress:
  random fixes that came out during testing