fix join on the wrong side of the hexdigest