character to string bug dealt with