moved bail to under check_args_ex class