Fixed #166 also tested under windows 8.1. Possible needed to be verified in future after windows 9 or service pack to windows 8.1 release.