fix after first scan