init will now reset welection if needed