text crash fix