fixing a messaging error