fixed bug with archive button