attempt to correct issue #3

needs to be tested on a Windows platform