fix to avoid slow repr generation during interpolation