bug fix in relinking in user profile