is ref $attr, 'HASH', 'param modified by callback - not recommended!';