autoref: some fixes