Fix delete program