remove buttons from index