made icheck automatically select based on selection