fixed range check for DR and shit