Remove unnecessary before block.