fix sheriff packet