fix meta key issues on windows