encoding ros distribution in ros version, fixes after merge