fix gpio status