removed one unneeded call to database in create database metadata