make delete buton work