extra trailing space in patch