clean all by type and keyword