def _filter_args(args):
    """
    filter the arguments

    :param args: arguments
    """
    args.number = int(args.number) if args.number is not None else None
    args.server = str(args.server) if args.server is not None else None
    args.interval = int(args.interval) if args.interval is not None else 30
    args.freeze_period = int(args.freeze_period
        ) if args.freeze_period is not None else 300
    args.lock_time = int(args.lock_time
        ) if args.lock_time is not None else None
    args.debug = True if args.debug is not None and int(args.debug
        ) > 0 else False
