Fixes #2 - Can't convert 'NoneType' object to str implicitly