Adds crumbs indexes
Removes trailing spaces