Fix the applyMeta method