Fixes issue with undefined path in digital pin.