fix wrong argument in save and load of generic shell