don't reallocate memory causes an error