scan gui bugfix saving scans