how can I return the active ID of $scon and what are all those empty ID's?