changing text clipping functionality