bugfix (project closing and selection)