Fixing bug in PCF8574