clean up finding parameters