gpio config bug fixed