fix: check substring instead of entire one.