Fixed minor bug caused by "getStr()".