Fixed ANOTHER REALLOC bug