fix pose saving