Fixes trail dot realloc bug