number sequence and range fixes