avoid gaps in order