button toggle fix