remove public from links