Fixed issue with trunicate