fixed create.sql