Fix saving poses