trim source code