fix double block script