Bugfix for fits (extension). Fixes #119 again.