device manager / code  entry patch