fixed range problem