bug fixed in cretatedatabse sql