correcting gpio