fix broken settings toggle