fixed load save functionality