fix version sub resource: remove trailing space