fix minifaction issue