Delete buttons bug

Correction to the malformed onclick parameter of the buttons