fix text class in docs