fix missing block code