fix state level toggle