Fixing the curly braces left over when removing blocks