add hello message and avoid shared allocate problem