select-text.php update & bugfix