Added semi colon check for fetchString