fix first message bug