fix to ddl