fixed removing of programs and programgroups.