fix bug archive