fixed pose saving for Windows