added semantic check on variable decl in meta block