fixes toggle