field check added and corrected