bugfix in save and loading methods