fix object of type 'NoneType' has no len() error
dump version