fix bug in insert in database. An empty member was added.