fixed create db script