hides unneeded links