fixed uid stuff