dose range checking