Fix messages properties.