remove JText where not necessary