Fix IP out of range