clean each collection separately in inputvals

(as currently update_db require clean to be present)