link hint cleanup and optimizations