add truncate option for gem content