First working wersion.
fix text conversatoin