fixed double first message bug