fix encoder pins