Fixed bugs when rendering users