range check by V for the p option. Fixes #1.