free(a) edit in deleting