realloc error fixed