string part bug fixed