check for empty term and render nothing