fix a bug on archive item and add functionality of unarchive item