fixed a bug, the message times arraylist was not initialized