removing button from index