Changed the check process of embedded string.