Adding autocheck to params public checkbox