fixing remote link bug