fixed usage of getuser()