Ran your code and did not get any errors. But the program group does not delete.