Fix message_created callback