format generated source