prevent annoying crash when working with links