relax getValue and getDual checks. closes #60