clean up terms