fixing user and link relation issue