fix displaying correct length for prediction path
fix html for infobox causing the text to wrap