fix a bug in the GPIO code