fix another bug TypeError: cannot concatenate 'str' and 'NoneType' objects