fixed perm links issue