small patch for link clicks