Fixed clear button, and seed function