Fix deleteProgram