be sure to avoid null object value