Solved problems with metadata and insert into