Added missing text validation