char* scanselect fix