Fix saving bugs in the meta API.