windows 8 compatibility fixes