bugfix

to save the last selected position