empty text cache return bug