fix php warnings when detect mustache standalone tags