field cleaning functions