Fixes a bug with the last character appearing in the target