fix interpolation when only one metadata line is provided