fixed uid login issue