Address undefined message issue.