make sure old study files can still be read
remove old Selection class