FORUM-299 | Fix warning message when input an invalid value