fix bugs with unsigned user