Fix gpio plugin.