Fixed inserting source without metadata.