Fixing bug of data truncation

Resolving the problem of data trunctation at statements thats returns more then 255 chars.