string bug fixed