improve db creation input