rewrite message-block cause groupedhtml doesnt throw needed event and listen to event application_clean_after