fix for https://github.com/dmwm/CRAB2/issues/929
fix for https://github.com/dmwm/CRAB2/issues/929