more fixes in meta.js module