fixed a bug in text hibernate type