fixed center string bug