remove null attributes; bind return self