update error log in accordance with change in input validation. thanks Phil Davis for pointer