block code fix