Fixing improper behavior of block tags