fixed bug of Locker module for windows platform