Bugfix

TypeError: 'NoneType' object does not support item assignment