try fix head preview bug