Fixed a bug with context in archive.