drilling machine: add missing if