Bugfix: generating $key for compact() correctly