fixing create database script