fix bug - no added name to db