fix inside links bug