correction realloc