fixed the issue of when the trainer link is clicked, it is not opening properly