Fix bug where save wasn't working.
Merge pull request #295 from glowe/gl/fix-save

Fix bug where save wasn't working. LGTM