fix broken buttons