fixing issue with extra text being null