prevent exceptions on empty text boxes
updated message