fixed GPIO access