fixed uid argument error
added optparser