fixed segment message errors