fix to gpio setup