clearing up some extra attributes