fix links for running with contextpath