modification destroy gestpart.c