Fix create_db problem