id range fix