fixing reset action and random recipe