fixing null text