Fix problem with assuming an attribute
Update readme