fixed critical bug in gpio
uc will be copied