bugfix: error when linking text if text overflows