simplify arguments and options