fix addition of multiple meta pairs adding the first one repeatedly