fixed bug in replacing mac keys with windows keys