PORT to Win7 and disable fake code