fix intervals