fix the mats/data/prereg display bug