prevent error when sequence fields is nil