fix title print
linking socket with leveldb