Fix problem that is occurred error when input empty string to tag