set sock state first