cleanup
fix seed setting