fixed initialization of smartscan