trunign charecters bug fixed