Fixed typo in createDatabase