also accept empty text input