fixed issue with wrong invalidation of text presentation