eliminate source templates