regression: handle a null or undefined
handle being called from the template not just the route code
TO_DMR : better handling of possible user errors
1.0.9