I tried changing last_level to an int and the problem with the extra levels hasnt gone away in fact it doesnt change. By the way when it screws up the only thing wrong with the player file is with the title field. It has a bunch of garbage after it. Any ideas what causes this muck up besides last_level and title never had a bug b4 this. Thanks in advance, Akshay