fix rest and clean actions