Fix on range loading condition