saving/opening bug fixing2