fix for adding the messages to the list in firefox