fixing link_to_profile issue