pass type_clean data for msgs