fixed bug in Texts library