error messages for empty inputs