Manage blank input message with only spaces