Fixed typoes in createDatabase