rmdec: add missing brackets to compound statement