fix view for admin