correct local only checkbox functionnality