remove trailing space and added --prefer-dist