Substring Widget is not Working