remove useless allocation already allocated string, reference to string is OK