DB create bug fixed