fixed a mistake upon loading external block