fix small bug
makes the relay board work properly