Fixes toggle issue.