fixed create database statement