fixing admin pages