cleaned buttons before removing them