fixed toggle bug

Signed-off-by: Jalessa <jalessa-hall@uiowa.edu>