remove used attributes