fix for broken logic in procesForm for log fields