public checkbox in admin not working