remove redundant factory attributes
update spec