fix bug in view profile link