Remove unnecessary block (issue #1533)